# -*- coding: UTF-8 -*-
from dataclasses import dataclass, field

from core.dto.base import BaseDTO
from core.dto.dataset import DataSetDTO


@dataclass
class ErrorsDTO(BaseDTO):
    model: str = field(default="errors")
    errors: DataSetDTO = field(default_factory=DataSetDTO)


@dataclass
class ErrorDTO(BaseDTO):
    model: str = field(default="error")
    message: str = ""
